package com.xbongbong.pro.statistic.enums;

import lombok.Getter;

/**
 * @author zhouwq
 * @date 2020/7/14 9:25
 */
@Getter
public enum ChartAttrTypeEnum {

    /**
     * 自定义图表字段类型
     */
    SELECT(1,"可筛选查询字段"),

    GROUP(2,"可分组字段"),

    LINK(3,"可关联字段"),

    SHOW(4,"可展示字段");

    /**
     * 字段值
     */
    private final int index;
    /**
     * 字段描述
     */
    private final String describe;


    ChartAttrTypeEnum(int index, String describe){
        this.index = index;
        this.describe = describe;
    }
}
